#include <stdio.h>
int main()
{
    char buffer[65], buffer2[65];
    unsigned int x;
    printf("%s","Enter a nubmer: ");
    scanf("%d", &x);
    sprintf(buffer,"%X",x);
    sprintf(buffer2, "%o",x);
    printf("Hexidecimal: %s \n", buffer);
    printf("Octal: %s", buffer2);
    {
        return 0;
    }
}
